<script src="/public/__STATIC__/lib/markdown/Parser.js"></script>
{volist name="project_list" id="project"}
<fieldset class="layui-elem-field">
    <legend>{$project.name}</legend>
    <div class="layui-field-box layui-markdown">{$project.description}</div>
    <div class="layui-field-box">
        <a href="{$project.repository}" target="_blank">前往git</a>
    </div>
</fieldset>
{/volist}
<script>
    var parser = new HyperDown();
    $('.layui-markdown').each(function (index,ele) {
        $(ele).html(parser.makeHtml($(ele).text()));
    })
</script>